﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JSDWFFlowConfigInnerList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.JSDWF.JSDWFFlowConfigInnerList" %>
<form id="pagerForm" method="post" action="JSDWF/JSDWFFlowConfigList.aspx" onsubmit="return navTabSearch(this);" >  
    <input type="hidden" name="orderField" value="<%=orderField %>" />
    <input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="<%=numPerPage %>" />  
</form>
<div class="pageContent">
<div class="panelBar">
    <ul class="toolBar">
            <% if (HasPower(IHISCETeim.Web.Permission.新增))
            {%>
        <li><a class="edit" href="JSDWF/JSDWFFlowConfigAdd.aspx?AdtlvlID=<%=AdtlvlID %>" target="ajax" rel="JSDWFFlowConfigListAddJbox" defautloadajax="true" title="新增审批人员" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="300" ><span>新增审批人员</span></a></li>
        <%} %>        
        <% if (HasPower(IHISCETeim.Web.Permission.删除))
            {%>
        <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=deletejsdwfflowconfig&FlowId={sid_user}&AdtlvlID=<%=AdtlvlID %>" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
        <%} %>

        <% if (HasPower(IHISCETeim.Web.Permission.修改))
            {%>
        <li><a class="icon" href="sysAjaxDone.ashx?ajaxmethod=disabledjsdwfflowconfig&FlowId={sid_user}&AdtlvlID=<%=AdtlvlID %>" target="ajaxTodo"  title="确定要禁用此审批人员吗?"><span>禁用</span></a></li>
        <%} %>
        <% if (HasPower(IHISCETeim.Web.Permission.修改))
            {%>
        <li><a class="icon" href="sysAjaxDone.ashx?ajaxmethod=enabledjsdwfflowconfig&FlowId={sid_user}&AdtlvlID=<%=AdtlvlID %>" target="ajaxTodo"  title="确定要启用此审批节点吗?"><span>启用</span></a></li>
        <%} %>

    </ul>
</div>
<asp:repeater id="rpMenu" runat="server">
    <HeaderTemplate>           
    <table class="table" width="100%" layouth="350" >
        <thead>
            <tr  > 
                <th width="90" >审批顺序</th>                             
                <th width="100">审批人员</th>
                <th  width="90">状态</th>   
                 <th >说明</th>          
            </tr>
        </thead>
    <tbody>
    </HeaderTemplate>
    <ItemTemplate>
        <tr target="sid_user" rel="<%# Eval("FlowID") %>">    
            <td><%# Eval("FlowID")%></td>  
			<td><%# GetRealName(Eval("UserName"))%></td>
            <td><%# Convert.ToBoolean( Eval("State"))?"正常":"禁用"%></td>
            <td><%# Eval("Remark")%></td>
		</tr>
    </ItemTemplate>
    <FooterTemplate>
        </tbody>
        </table>           
    </FooterTemplate>
</asp:repeater>
</div>